package org.summer.lawyer.domain.vo.legalcase;

import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.summer.lawyer.domain.LegalCase;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 法律案例视图对象 legal_case
 *
 * @author summer
 * @date 2024-06-25
 */
@Schema(title = "法律案例视图对象 legal_case", description = "法律案例视图对象 legal_case")
@Data
@AutoMapper(target = LegalCase.class)
public class LegalCaseVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Schema(title = "id", type = "Long", description = "主键ID")
    private Long id;

    /**
     * 案例类型（1律师，2律所）
     */
    @Schema(title = "caseScope", type = "String", description = "案例类型（1律师，2律所）")
    private String caseScope;

    /**
     * 标题
     */
    @Schema(title = "title", type = "String", description = "标题")
    private String title;

    /**
     * 案例封面图片
     */
    @Schema(title = "caseImage", type = "String", description = "案例封面图片")
    private String caseImage;

    /**
     * 律所ID
     */
    @Schema(title = "lawFirmId", type = "Long", description = "律所ID")
    private Long lawFirmId;

    /**
     * 律师ID
     */
    @Schema(title = "lawyerId", type = "Long", description = "律师ID")
    private Long lawyerId;

    /**
     * 案例内容
     */
    @Schema(title = "caseContent", type = "String", description = "案例内容")
    private String caseContent;

    /**
     * 创建者
     */
    @Schema(title = "createBy", type = "Long", description = "创建者")
    private Long createBy;

    /**
     * 创建时间
     */
    @Schema(title = "createTime", type = "Date", description = "创建时间")
    private Date createTime;

    /**
     * 更新者
     */
    @Schema(title = "updateBy", type = "Long", description = "更新者")
    private Long updateBy;

    /**
     * 更新时间
     */
    @Schema(title = "updateTime", type = "Date", description = "更新时间")
    private Date updateTime;
}
